package com.lilanz.microservice.express.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true) // 链式写法 实例对象
public class ResultCommit {
    private Integer code;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String orderId;
    private String message;

    //主运单的信息
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String mailno;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String destcode;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String origincode;

    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String sourceTransferCode;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String destRouteLabel;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String printIcon;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String proCode;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String xbFlag;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String abFlag;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String codingMapping;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String destTeamCode;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String twoDimensionCode;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String destCityCode;

    //下面的是返回签回单的信息
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String returnMailno;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String returnSourceTransferCode;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String returnDestRouteLabel;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String returnPrintIcon;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String returnProCode;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String returnXbFlag;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String returnAbFlag;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String returnCodingMapping;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String returnDestTeamCode;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String returnTwoDimensionCode;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String returnDestCityCode;

}
